package rs.frenjoynet.music.ui;

import org.jboss.seam.annotations.*;
import org.jboss.seam.ScopeType;
import org.jboss.seam.log.Log;
import rs.frenjoynet.core.ui.LoginBean;
import rs.frenjoynet.core.core.ActiveUserSession;
import rs.frenjoynet.music.ui.session.MusicSessionBean;

/**
 * Created by IntelliJ IDEA.
 * User: ppopovic
 * Date: 06.11.2009.
 * Time: 11.48.40
 * To change this template use File | Settings | File Templates.
 */
@Name ("loginBean")
@Scope (ScopeType.EVENT)
@Install (false)
public class MusicLoginBean extends LoginBean
{
	@SuppressWarnings ({"SeamAnnotationsInconsistencyInspection"})
	@In ("sessionBean")
	private MusicSessionBean musicSessionBean;

	@Logger
	private Log log;

	protected void initUsedBeans(ActiveUserSession authResult)
	{
		//super.initUsedBeans(authResult);

		try
		{
			//ldrSessionBean.getBillingLoaderFacade().setSessionGuid(authResult.getGuid());
		}
		catch (Exception e)
		{
			//error(null, handleError(e));
		}
	}


}

